package com.study.dao;

import com.study.pojo.AdminInfo;

import java.sql.SQLException;

/**
 * @PackgeName: com.study.dao.impl
 * @ClassName: AdminInfoDAO
 * @Author: 严志祥
 * Date: 2022-05-04 16:08
 * project name: web_project_medal
 * @Version:
 * @Description:
 */
public interface AdminInfoDAO extends SupperDAO<AdminInfo>{
    /**
     * 根据用户名获取用户信息
     * @param username
     * @return
     */
    AdminInfo selectByName(String username) throws SQLException;
    boolean selectByAdminName(String adminName) throws SQLException;
}
